#!/usr/bin/env ruby

require 'rake/gempackagetask'
 
spec = Gem::Specification.new do |s|
  s.name = %q{redbook}
  s.version = "1.0.0"
  s.date = %q{2008-2-1}
  s.summary = %q{A script for logging your daily activities and time tracking.}
  s.email = %q{h3rald@h3rald.com}
  s.homepage = %q{http://redbook.h3rald.com}
  s.rubyforge_project = %q{redbook}
  s.description = %q{RedBook is an interactive Ruby script able to log your daily activities to one or more YAML file,  retrieve time tracking statistics and lists of activities matching a set of user-specified criteria, and perform other operations like exporting output to many different file formats.}
  s.default_executable = %q{redbook}
  s.has_rdoc = true
  s.authors = ["Fabio Cevasco"]
  s.files = FileList["{lib}/**/*"].to_a+["README.txt", "LICENSE.txt", "CHANGES.txt", "rbconfig.yml", "rbinit.rb",
											"bin/redbook", "res/.inputrc"]
  s.rdoc_options = ["--main", "README.txt"]
  s.extra_rdoc_files = ["README.txt", "LICENSE.txt", "CHANGES.txt"]
	s.executables = ["redbook"]
	spec.test_file  = 'test/test_all.rb'  
	s.add_dependency("chronic", ">= 0.2.3")
	s.add_dependency("rawline", ">= 0.2.0")
	s.add_dependency("activesupport", ">= 1.4.2")
	s.add_dependency("twitter", ">= 0.2.1")
	s.add_dependency("fastercsv", ">= 1.2.3")
end

Rake::GemPackageTask.new(spec) do |pkg|
	pkg.gem_spec = spec
  pkg.need_tar = true
	pkg.need_zip = true
end

